package net.cohoivang.core;


public class TradingManager {
	private static TradingManager instance;
	
	public final TopListNews topNews;
		
	
	private TradingManager(int topSize) {
		topNews = new TopListNews(topSize, new DateComparator("sort by date"));
		
	}	
	
	public static void initialize(int topNewsSize) {		
		instance = new TradingManager(topNewsSize);
		instance.topNews.startListenEnableTop();
		TradingThread.initialize();
	}
}
